﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CHSystemApi.DataAccess.DTO
{
    public class RegisterDtoIn
    {
        public string tel { get; set; }

        public string password { get; set; }

        public string vcode { get; set; }

        public string vgid { get; set; }
    }

    public class RegisterDtoOut
    {
        public int id { get; set; }

        public string name { get; set; }

        public string email { get; set; }

        public int age { get; set; }

        public string last_login_time { get; set; }

        public string login_ip { get; set; }
    }

    public class SendCodeDtoIn
    {
        public string tel { get; set; }
    }

    public class LoginDtoIn
    {
        public string tel { get; set; }

        public string password { get; set; }

        public string ip { get; set; }
    }

    public class UserDtoOut
    {
        public string name { get; set; }

        public int age { get; set; }

        public string tel { get; set; }

        public DateTime create_time { get; set; }

        public DateTime last_login_time { get; set; }

        public string login_ip { get; set; }
    }
}
